﻿$(document).ready(function(){
	
	
	page4_jContainer1_obj=$('#page4_jContainer1_container').layout({
		onresize:function(){
			page4_jContainer2_obj.resizeAll();},
		center__paneSelector:'.page4_jContainer1_center'
		,west__paneSelector:'.page4_jContainer1_west'
		,west__size:	220
		,west__spacing_open:	0
	});
	
	page4_jContainer2_DataGrids=new Array("page4_jDataGrid1","49");
	page4_jContainer2_obj=$('#page4_jContainer2_container').layout({
		onresize:function(){
			Vjjq.resizegrid(page4_jContainer2_DataGrids);},
		center__paneSelector:'.page4_jContainer2_center'
		,north__paneSelector:'.page4_jContainer2_north'
		,north__size:	31
		,north__spacing_open:	0
	});
});

jQuery().ready(function(){
	jQuery('#page4_jDataGrid1_table').jqGrid({
		datatype: 'local',
		multiselect: true,
		viewrecords: true,
		colNames:['客户编号','姓名','性别','电话','省','市','区','街道','详址','服务类型','客户星级'],
		colModel:[
			{name:'A0',index:'A0', width:69},
			{name:'A1',index:'A1', width:64},
			{name:'A2',index:'A2', width:64},
			{name:'A3',index:'A3', width:94},
			{name:'A4',index:'A4', width:64},
			{name:'A5',index:'A5', width:58},
			{name:'A6',index:'A6', width:62},
			{name:'A7',index:'A7', width:69},
			{name:'A8',index:'A8', width:64},
			{name:'A9',index:'A9', width:64},
			{name:'A10',index:'A10', width:64}
		],
		width: '100%',
		height: '100%',
		rowNum:20,
		pager: jQuery('#page4_jDataGrid1_pager')
	}).navGrid('#page4_jDataGrid1_pager',{edit:false,add:false,del:false});
	$('#page4_jDataGrid1_table').closest('.ui-jqgrid-bdiv').css({'overflow-y': 'auto'});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',1,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',2,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',3,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',4,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',5,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',6,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',7,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',8,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',9,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',10,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',11,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',12,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',13,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',14,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',15,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',16,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',17,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',18,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',19,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').jqGrid('addRowData',20,{A0:'',A1:'',A2:'',A3:'',A4:'',A5:'',A6:'',A7:'',A8:'',A9:'',A10:''});
	$('#page4_jDataGrid1_table').trigger('reloadGrid');
})

$(document).ready(function(){
	page4_jContainer1_obj.resizeAll();
});
